<layout name="Layout/layout" />


<form action="{:U('Admin/Privilege/edit')}" method="post" class="form-horizontal" role="form">
    <!-- #section:elements.form -->
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="shuoming"> </label>

        <div class="col-sm-9">
            <span id="shuoming">选项为空时填写 null</span>

        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="id"> 序号 </label>

        <div class="col-sm-9">
            <input type="text" id="id" name="id" value="{$pri.id}" placeholder="" class="col-xs-10 col-sm-5" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="pri_name"> 权限名称 </label>

        <div class="col-sm-9">
            <input type="text" id="pri_name" name="pri_name" value="{$pri.pri_name}" placeholder="" class="col-xs-10 col-sm-5" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="module_name"> 模块 </label>

        <div class="col-sm-9">
            <input type="text" id="module_name" name="module_name" value="{$pri.module_name}" placeholder="" class="col-xs-10 col-sm-5" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="controller_name"> 控制器 </label>

        <div class="col-sm-9">
            <input type="text" id="controller_name" name="controller_name" value="{$pri.controller_name}" placeholder="" class="col-xs-10 col-sm-5" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="action_name"> 方法 </label>

        <div class="col-sm-9">
            <input type="text" id="action_name" name="action_name" value="{$pri.action_name}" placeholder="" class="col-xs-10 col-sm-5" />
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="icon"> 图标 </label>

        <div class="col-sm-9">
            <input type="text" id="icon" name="icon" value="{$pri.icon}" placeholder="" class="col-xs-10 col-sm-5" />
        </div>
    </div>

    <div class="space-4"></div>

    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="parent_id"> 父ID </label>

        <div class="col-sm-9">
            <input type="text" class="col-xs-10 col-sm-5" value="{$pri.parent_id}" id="parent_id" name="parent_id" value="{$Think.get.pid}" />
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-3 control-label no-padding-right" for="level"> 菜单级次 </label>

        <div class="col-sm-9">
            <input type="text" class="col-xs-10 col-sm-5" value="{$pri.level}" id="level" name="level" value="{$Think.get.level}" />
        </div>
    </div>

    <div class="clearfix form-actions">
        <div class="col-md-offset-3 col-md-9">

            <button class="btn btn-info" type="submit">
                <i class="ace-icon fa fa-check bigger-110"></i>
                提交
            </button>

        </div>
    </div>

</form>